package com.gohi.main.store.hbm;

import java.util.ArrayList;
import java.util.List;

/**
 * <B>项目服务</B>
 * @author 肖得明<br>
 * 2015年4月16日11时56分11秒
 */public class ShopgooGroupbuy extends com.gohi.core.model.BaseModel{
    //
    private Integer group_id ;
    //团购名称
    private String group_name ;
    //团购说明
    private String group_help ;
    //开始时间
    private Integer start_time ;
    //结束时间
    private Integer end_time ;
    //商铺ID
    private Integer store_id ;
    //商铺名称
    private String store_name ;
    //原始价格
    private String original_price ;
    //团购价格
    private String group_price ;
    //购团数量
    private Integer buyer_count ;
    //购买上线
    private Integer buyer_limit ;
    //购买人数
    private Integer buyer_num ;
    //团购介绍
    private String group_intro ;
    //团购图片
    private String group_pic ;
    //发布时间
    private Integer publish_time ;
    //1.否 2.是 (热门团购)
    private Integer is_hot ;
    //1.开启 2.关闭
    private Integer is_open ;
    //城市ID
    private Integer city_id ;
    //区域ID
    private Integer area_id ;
    //商区ID
    private Integer mall_id ;
    //大分类ID
    private Integer class_id ;
    //小分类ID
    private Integer s_class_id ;
    //1.待审核 2.审核通过 3.审核未通过
    private Integer is_audit ;
    //分佣比例
    private Integer settle ;
    //1.是 2.否
    private Integer is_refund ;
    //
    private Integer max_price ;
    //
    private Integer min_price ;
    //地址
    private String address;
    
    private  Integer howlong;//项目的服务时间
    
    private Integer comment_count;//评论数量
    
    private Integer limit;//页码
    //最低价格
	private String minprice;
	//最高价格
	private String maxprice;
	private String sorttype; // 1位desc 0asc
	private String orderby; // 根据那个字段排序
	private String km; // 相差多少KM
	private Integer brand_id;
    
	
	
	public Integer getLimit() {

		return limit==null?0:limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	//商圈的ID
	private Integer area_business_id;
	
	public Integer getArea_business_id() {
		return area_business_id;
	}

	public void setArea_business_id(Integer area_business_id) {
		this.area_business_id = area_business_id;
	}

	public Integer getBrand_id() {
		return brand_id;
	}

	public void setBrand_id(Integer brand_id) {
		this.brand_id = brand_id;
	}

	public String getMinprice() {
		return minprice;
	}

	public void setMinprice(String minprice) {
		this.minprice = minprice;
	}

	public String getMaxprice() {
		return maxprice;
	}

	public void setMaxprice(String maxprice) {
		this.maxprice = maxprice;
	}

	public String getSorttype() {
		return sorttype;
	}

	public void setSorttype(String sorttype) {
		this.sorttype = sorttype;
	}

	public String getOrderby() {
		return orderby;
	}

	public void setOrderby(String orderby) {
		this.orderby = orderby;
	}

	public String getKm() {
		return km;
	}

	public void setKm(String km) {
		this.km = km;
	}

	public Integer getComment_count() {
		return comment_count;
	}

	public void setComment_count(Integer comment_count) {
		this.comment_count = comment_count;
	}

	public int getHowlong() {

		return howlong==null?0:howlong;
	}

	public void setHowlong(int howlong) {
		this.howlong = howlong;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	private List<String> piclist =new ArrayList<String>();
    
    
    public ShopgooGroupbuy() {

	}

	public ShopgooGroupbuy(Integer store_id) {

		this.store_id = store_id;
	}

	public List<String> getPiclist() {
		return piclist;
	}

	public void setPiclist(List<String> piclist) {
		this.piclist = piclist;
	}

	/**
     *
     **/
    public Integer getGroup_id() {
        return this.group_id;
    }

    /**
     * @param group_id 
     **/
    public Integer setGroup_id(Integer group_id) {
        return this.group_id=group_id;
    }

    /**
     *团购名称
     **/
    public String getGroup_name() {
        return this.group_name;
    }

    /**
     * @param group_name 团购名称
     **/
    public String setGroup_name(String group_name) {
        return this.group_name=group_name;
    }

    /**
     *团购说明
     **/
    public String getGroup_help() {
        return this.group_help;
    }

    /**
     * @param group_help 团购说明
     **/
    public String setGroup_help(String group_help) {
        return this.group_help=group_help;
    }

    /**
     *开始时间
     **/
    public Integer getStart_time() {
        return this.start_time;
    }

    /**
     * @param start_time 开始时间
     **/
    public Integer setStart_time(Integer start_time) {
        return this.start_time=start_time;
    }

    /**
     *结束时间
     **/
    public Integer getEnd_time() {
        return this.end_time;
    }

    /**
     * @param end_time 结束时间
     **/
    public Integer setEnd_time(Integer end_time) {
        return this.end_time=end_time;
    }

    /**
     *商铺ID
     **/
    public Integer getStore_id() {
        return this.store_id;
    }

    /**
     * @param store_id 商铺ID
     **/
    public Integer setStore_id(Integer store_id) {
        return this.store_id=store_id;
    }

    /**
     *商铺名称
     **/
    public String getStore_name() {
        return this.store_name;
    }

    /**
     * @param store_name 商铺名称
     **/
    public String setStore_name(String store_name) {
        return this.store_name=store_name;
    }

    /**
     *原始价格
     **/
    public String getOriginal_price() {
        return this.original_price;
    }

    /**
     * @param original_price 原始价格
     **/
    public String setOriginal_price(String original_price) {
        return this.original_price=original_price;
    }

    /**
     *团购价格
     **/
    public String getGroup_price() {
        return this.group_price;
    }

    /**
     * @param group_price 团购价格
     **/
    public String setGroup_price(String group_price) {
        return this.group_price=group_price;
    }

    /**
     *购团数量
     **/
    public Integer getBuyer_count() {
        return this.buyer_count==null?0:buyer_count;
    }

    /**
     * @param buyer_count 购团数量
     **/
    public Integer setBuyer_count(Integer buyer_count) {
        return this.buyer_count=buyer_count;
    }

    /**
     *购买上线
     **/
    public Integer getBuyer_limit() {
        return this.buyer_limit;
    }

    /**
     * @param buyer_limit 购买上线
     **/
    public Integer setBuyer_limit(Integer buyer_limit) {
        return this.buyer_limit=buyer_limit;
    }

    /**
     *购买人数
     **/
    public Integer getBuyer_num() {
        return this.buyer_num;
    }

    /**
     * @param buyer_num 购买人数
     **/
    public Integer setBuyer_num(Integer buyer_num) {
        return this.buyer_num=buyer_num;
    }

    /**
     *团购介绍
     **/
    public String getGroup_intro() {
        return this.group_intro;
    }

    /**
     * @param group_intro 团购介绍
     **/
    public String setGroup_intro(String group_intro) {
        return this.group_intro=group_intro;
    }

    /**
     *团购图片
     **/
    public String getGroup_pic() {
        return this.group_pic;
    }

    /**
     * @param group_pic 团购图片
     **/
    public String setGroup_pic(String group_pic) {
        return this.group_pic=group_pic;
    }

    /**
     *发布时间
     **/
    public Integer getPublish_time() {
        return this.publish_time;
    }

    /**
     * @param publish_time 发布时间
     **/
    public Integer setPublish_time(Integer publish_time) {
        return this.publish_time=publish_time;
    }

    /**
     *1.否 2.是 (热门团购)
     **/
    public Integer getIs_hot() {
        return this.is_hot;
    }

    /**
     * @param is_hot 1.否 2.是 (热门团购)
     **/
    public Integer setIs_hot(Integer is_hot) {
        return this.is_hot=is_hot;
    }

    /**
     *1.开启 2.关闭
     **/
    public Integer getIs_open() {
        return this.is_open;
    }

    /**
     * @param is_open 1.开启 2.关闭
     **/
    public Integer setIs_open(Integer is_open) {
        return this.is_open=is_open;
    }

    /**
     *城市ID
     **/
    public Integer getCity_id() {
        return this.city_id;
    }

    /**
     * @param city_id 城市ID
     **/
    public Integer setCity_id(Integer city_id) {
        return this.city_id=city_id;
    }

    /**
     *区域ID
     **/
    public Integer getArea_id() {
        return this.area_id;
    }

    /**
     * @param area_id 区域ID
     **/
    public Integer setArea_id(Integer area_id) {
        return this.area_id=area_id;
    }

    /**
     *商区ID
     **/
    public Integer getMall_id() {
        return this.mall_id;
    }

    /**
     * @param mall_id 商区ID
     **/
    public Integer setMall_id(Integer mall_id) {
        return this.mall_id=mall_id;
    }

    /**
     *大分类ID
     **/
    public Integer getClass_id() {
        return this.class_id;
    }

    /**
     * @param class_id 大分类ID
     **/
    public Integer setClass_id(Integer class_id) {
        return this.class_id=class_id;
    }

    /**
     *小分类ID
     **/
    public Integer getS_class_id() {
        return this.s_class_id;
    }

    /**
     * @param s_class_id 小分类ID
     **/
    public Integer setS_class_id(Integer s_class_id) {
        return this.s_class_id=s_class_id;
    }

    /**
     *1.待审核 2.审核通过 3.审核未通过
     **/
    public Integer getIs_audit() {
        return this.is_audit;
    }

    /**
     * @param is_audit 1.待审核 2.审核通过 3.审核未通过
     **/
    public Integer setIs_audit(Integer is_audit) {
        return this.is_audit=is_audit;
    }

    /**
     *分佣比例
     **/
    public Integer getSettle() {
        return this.settle;
    }

    /**
     * @param settle 分佣比例
     **/
    public Integer setSettle(Integer settle) {
        return this.settle=settle;
    }

    /**
     *1.是 2.否
     **/
    public Integer getIs_refund() {
        return this.is_refund;
    }

    /**
     * @param is_refund 1.是 2.否
     **/
    public Integer setIs_refund(Integer is_refund) {
        return this.is_refund=is_refund;
    }

    /**
     *
     **/
    public Integer getMax_price() {
        return this.max_price;
    }

    /**
     * @param max_price 
     **/
    public Integer setMax_price(Integer max_price) {
        return this.max_price=max_price;
    }

    /**
     *
     **/
    public Integer getMin_price() {
        return this.min_price;
    }

    /**
     * @param min_price 
     **/
    public Integer setMin_price(Integer min_price) {
        return this.min_price=min_price;
    }

}